all: clean mathlogic.dll
mathlogic.dll:  mathlogic.obj registrymod.obj
	link /OUT:"mathlogic.dll" /DLL mathlogic.obj registrymod.obj "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib"
mathlogic.obj: mathlogic.cpp mathlogic.h
	cl -c mathlogic.cpp
registrymod.obj: registrymod.cpp registrymod.h
	cl -c registrymod.cpp
clean:
	del *.obj *.exp *.dll